package com.ruoyi.project.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 通知信息对象 pro_notice
 * 
 * @author cxc
 * @date 2024-12-02
 */
public class ProNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 通知ID */
    private Long noticeId;

    /** 发送者 */
    @Excel(name = "发送者")
    private String username;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createName;

    /** 通知内容 */
    @Excel(name = "通知内容")
    private String content;

    /** 所属项目ID */
    @Excel(name = "所属项目ID")
    private Long projectId;

    public void setNoticeId(Long noticeId) 
    {
        this.noticeId = noticeId;
    }

    public Long getNoticeId() 
    {
        return noticeId;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("noticeId", getNoticeId())
            .append("username", getUsername())
            .append("createName", getCreateName())
            .append("content", getContent())
            .append("projectId", getProjectId())
            .toString();
    }
}
